home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Game Programming for Dummies (2nd Edition)
/
WinGamProgFD.iso
/
mac
/
DirectX SDK
/
DXSDK
/
samples
/
Multimedia
/
Direct3D
/
DXTex
/
dialogs.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-10-08
|
4KB
|
163 lines
// Dialogs.h : header file
//
#if !defined(AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_)
#define AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CNewTextureDlg dialog
class CNewTextureDlg : public CDialog
{
// Construction
public:
CNewTextureDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CNewTextureDlg)
enum { IDD = IDD_NEWTEXTURE };
int m_iTexType;
int m_dwWidth;
int m_dwHeight;
int m_dwDepth;
int m_iFmt;
CString m_strFmtDesc;
int m_numMips;
D3DFORMAT m_fmt;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewTextureDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CNewTextureDlg)
virtual BOOL OnInitDialog();
afx_msg void OnChangeTextureType();
afx_msg void OnChangeFormat();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CCubeMapDlg dialog
class CCubeMapDlg : public CDialog
{
// Construction
public:
CCubeMapDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCubeMapDlg)
enum { IDD = IDD_CUBEMAP };
INT m_iFace;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCubeMapDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCubeMapDlg)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CVolumeMapDlg dialog
class CVolumeMapDlg : public CDialog
{
// Construction
public:
CVolumeMapDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CVolumeMapDlg)
enum { IDD = IDD_VOLUMEMAP };
int m_powLayers;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVolumeMapDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CVolumeMapDlg)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
// CChangeFmtDlg dialog
class CChangeFmtDlg : public CDialog
{
// Construction
public:
CChangeFmtDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CChangeFmtDlg)
enum { IDD = IDD_CHANGEFORMAT };
int m_iFmt;
CString m_strFmtDesc;
//}}AFX_DATA
BOOL m_bVolume;
D3DFORMAT m_fmt;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChangeFmtDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CChangeFmtDlg)
virtual BOOL OnInitDialog();
afx_msg void OnChangeFmt();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void UpdateFmtDesc();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_)